package com.hlhj.funlike_businessqzxd.bean;

import java.util.List;

public class CutBean {

    /**
     * code : 1
     * msg : 请求成功
     * data : {"data":{"mj":[{"type":1,"text":"满25减3","id":49},{"type":1,"text":"满200减50","id":51}]},"config":{"is_range_activity":2,"is_manjian_activity":1}}
     */

    private int code;
    private String msg;
    private DataBeanX data;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBeanX getData() {
        return data;
    }

    public void setData(DataBeanX data) {
        this.data = data;
    }

    public static class DataBeanX {
        /**
         * data : {"mj":[{"type":1,"text":"满25减3","id":49},{"type":1,"text":"满200减50","id":51}]}
         * config : {"is_range_activity":2,"is_manjian_activity":1}
         */

        private DataBean data;
        private ConfigBean config;

        public DataBean getData() {
            return data;
        }

        public void setData(DataBean data) {
            this.data = data;
        }

        public ConfigBean getConfig() {
            return config;
        }

        public void setConfig(ConfigBean config) {
            this.config = config;
        }

        public static class DataBean {
            private List<MjBean> mj;

            public List<MjBean> getMj() {
                return mj;
            }

            public void setMj(List<MjBean> mj) {
                this.mj = mj;
            }

            public static class MjBean {
                /**
                 * type : 1
                 * text : 满25减3
                 * id : 49
                 */

                private int type;
                private String text;
                private int id;

                public int getType() {
                    return type;
                }

                public void setType(int type) {
                    this.type = type;
                }

                public String getText() {
                    return text;
                }

                public void setText(String text) {
                    this.text = text;
                }

                public int getId() {
                    return id;
                }

                public void setId(int id) {
                    this.id = id;
                }
            }
        }

        public static class ConfigBean {
            /**
             * is_range_activity : 2
             * is_manjian_activity : 1
             */

            private int is_range_activity;
            private int is_manjian_activity;

            public int getIs_range_activity() {
                return is_range_activity;
            }

            public void setIs_range_activity(int is_range_activity) {
                this.is_range_activity = is_range_activity;
            }

            public int getIs_manjian_activity() {
                return is_manjian_activity;
            }

            public void setIs_manjian_activity(int is_manjian_activity) {
                this.is_manjian_activity = is_manjian_activity;
            }
        }
    }
}
